﻿import re
content=input("请输入你的邮箱")
patternt = re.compile('^[a-zA-Z0-9_-]+@[a-zA-Z0-9_-]+(\.[a-zA-Z0-9_-]+)+$')
result = patternt.findall(content)
if result:
    print ("成功")
else:
    print ("失败")